//============================================//
//  Linked List Example
//  by Drake Bissett - 2013
//  --------------------------
//  Simple demo of a linked list:
//  -Each node contains a pointer to the
//  next node in the series.
//  --------------------------
//  dsbissett@gmail.com
//  w32reverse@gmail.com
//============================================//
#include <cstdlib>
#include "list.h"

using namespace std;

int main(int argc, char** argv)
{
	List Test;

	Test.AddNode(3);
	Test.AddNode(5);
	Test.AddNode(7);
	Test.AddNode(9);
	Test.AddNode(11);
	Test.AddNode(13);
	Test.PrintList();

	Test.DeleteNode(9);
	Test.PrintList();

	return 0;
}